package com.two.service.shopcar.service;

import com.two.common.util.CommonResult;
import com.two.service.shopcar.entity.Shopcar;
import com.baomidou.mybatisplus.extension.service.IService;
import com.two.service.shopcar.vo.RestautantVo;
import com.two.service.shopcar.vo.ShopCarVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 汪瑞明
 * @since 2022-09-01
 */
public interface IShopcarService extends IService<Shopcar> {

     CommonResult addGoods(String token, Shopcar[] shopCar);
    //  CommonResult addGoods(String token, ShopCarVo shopCarVo);

    CommonResult findAll( String token);

    CommonResult deleteById(String id);

    CommonResult deleteBySelect(RestautantVo[] restautantVo);

    CommonResult findGoodsNum(String token);

    void deleteGoods(String id);

    //void delete(String id);


   // CommonResult deleteBySelect(Shopcar shopcar);

}
